import { SelectOption } from '@/lib/Type';
import {

} from '@/lib/Enum';

export default {
  userKeyInStorage: 'limas-user',
  pageSize: 10,
  pages: 15,
  maxVal: 100000000,


  convertToSelectOptions<T>(map: Map<T, string>): Array<SelectOption<T>> {
    const ret: Array<SelectOption<T>> = [];
    map.forEach((name, type) => ret.push(new SelectOption(type, name)));
    return ret;
  },
  SelectOptionsForCheck<T>(map: Map<T, string>): Array<SelectOption<T>> {
    const ret: Array<SelectOption<T>> = [];
    map.forEach((name, type) => ret.push(new SelectOption(type, name)));
    return ret;
  }
};
